package com.share.book.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.share.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.share.common.core.annotation.Excel;

/**
 * 文档列表对象 edoc_entry
 *
 * @author atguigu
 * @date 2025-10-13
 */
@Data
@Schema(description = "文档列表")
public class Entry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类编号 */
    @Excel(name = "分类编号")
    @Schema(description = "分类编号")
    private Long categoryId;

    /** 文档名称 */
    @Excel(name = "文档名称")
    @Schema(description = "文档名称")
    private String title;

    /** 摘要 */
    @Excel(name = "摘要")
    @Schema(description = "摘要")
    private String summary;

    /** 上传人 */
    @Excel(name = "上传人")
    @Schema(description = "上传人")
    private String uploadUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description = "创建时间")
    private Date createDate;

    /** 分类名称 */
    @Schema(description = "分类名称")
    private String name;
}
